package com.shujiaotong.service;

import com.shujiaotong.common.R;
import com.shujiaotong.pojo.Classes;
import com.shujiaotong.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shujiaotong.pojo.UserCard;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2024-10-20
 */
public interface IUserService extends IService<User> {




    List<UserCard> getUserCardsByUserid(Long userid);

    boolean saveByCardIdToUser(Long cardId, User user);

    List<Classes> userClassesByUserId(Long userId);

    R getUserByClassId(Long id);

    boolean getSelectedCard(Long userId, Long cardId);

}
